﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace T.FAS.Runtime.DataAccess.SPI
{
    /// <summary>
    /// 批量更新结果
    /// </summary>
    public class BatchUpdateResult
    {
        public bool Result { get; set; }
        public string CDOID { get; set; }
        public string CDOCode { get; set; }
        public int TotalCount { get; set; }
        public int SuccessCount { get; set; }
        public int FailCount { get; set; }
        public List<BatchUpdateItem> BatchUpdateItems { get; set; }
    }

    public class BatchUpdateItem
    {
        public bool Result { get; set; }
        public string PKVal { get; set; }
        public string ErrorMsg { get; set; }
        public string ErrorStack { get; set; }
    }
}
